package com.taru.wxhsh.mapper;

import com.taru.wxhsh.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectList( @Param("telphone") String telphone ,@Param("shopName") String shopName);

    User login(@Param("username") String username,@Param("password") String password);

}